using System.Collections.Generic;
using System.Threading.Tasks;
using NBModular.Lib.Data.Abstractions;
using NBModular.Module.Member.Domain.UserAddress.Models;

namespace NBModular.Module.Member.Domain.UserAddress
{
    /// <summary>
    /// 用户地址表仓储
    /// </summary>
    public interface IUserAddressRepository : IRepository<UserAddressEntity>
    {
        /// <summary>
        /// 查询
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<IList<UserAddressEntity>> Query(UserAddressQueryModel model);
    }
}
